package com.hsmpay.qian4.service.ds;

import com.hsmpay.common.pojo.qian4.Qian4SendLog;
import com.hsmpay.mobile.action.account.scanCodePay.ScanCodePayParam;
import com.hsmpay.qian4.pojo.PurchaseResult;
import com.hsmpay.qian4.pojo.RevocationResult;

/**
 * 微信服务商扫码支付接口
 */
public interface WeixinPayService {
    /**
     * 消费
     * @param send
     * @return
     * @throws Exception
     */
    public PurchaseResult getQRCode(Qian4SendLog send, ScanCodePayParam scanCodePayParam, String signatureRelPath) throws Exception;

    /**
     * 撤销冲正
     * @return
     * @throws Exception
     */
    public RevocationResult revocation(String out_trade_no)throws Exception;

    /**
     * 查询交易订单
     * @return
     * @throws Exception
     */
    public RevocationResult queryorder(String out_trade_no)throws Exception;

}
